package com.yuanfeng.job.feign;

import com.yuanfeng.commoms.util.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

/**
 * @ClassName ActivityServiceClient
 * @Description
 * @Author hyq
 * @Date 2023/9/5 9:25
 * @Version 1.0
 **/
@FeignClient(name = "mall-activity", url = "http://localhost:8084")
public interface ActivityServiceClient {

    /**
     * 修改红包接口
     *
     * @param paraMap
     * @return
     */
    @PostMapping("/activity/voucherBase/salesprm/update")
    ResponseResult updateSalesPrm(@RequestBody Map<String, Object> paraMap);
}
